<<set $header to "sugarcube epistolary/prose template">>
<p>This is the first text passage of the project. Press ''Q'' to access the widget guide at any time.</p>
<div class='choice choicebtn'>
<<button "Template Styles">><<goto [[Styles]]>><</button>>
<<button "Template Widgets">><<goto [[Widget Explanation]]>><</button>>
</div><div id="interface">
<div id="header" data-passage="Header"></div>
<div id="left" data-passage="Left"></div>
<div id="passages"></div>
<div id="right"></div>
<div id="footer" data-passage="Footer">footer</div>
</div> $header<<link '<i class="fa-solid fa-backward" title="Back"></i>'>>
<<run Engine.backward()>>
<</link>>
<!-- begin oobleck menu -->
<div class="nav-container">
<ul class="navMenu" id="nav">
<input type="checkbox" id="nav-menu" class="navMenuToggle" name="navMenuToggle" />
<li class=" nav-li ms-li5 ms-li-last">
<<link '<i class="fa-regular fa-floppy-disk" title="Saves"></i>'>>
<<run UI.saves();>>
<</link>>
</li>
<li class=" nav-li ms-li4">
<<link '<i class="fa-solid fa-power-off" title="Restart"></i>'>>
<<run UI.restart();>>
<</link>>
</li>
<li class="nav-li ms-li3">
<<link '<i class="fa-solid fa-code" title="Credits"></i>'>>
<<run Dialog.create("Credits").wikiPassage("Credits").open();>>
<</link>>
</li>
<li class="nav-li ms-li2">
<<link '<i class="fa-solid fa-gears" title="Settings"></i>'>>
<<run UI.settings();>>
<</link>>
</li>
<li class="nav-li ms-li1 ms-li-first">
<<link '<i class="fa-solid fa-book-bookmark"></i>'>>
<<if Dialog.isOpen("key")>>
<<run Dialog.close()>>
<<else>>
<<run Dialog.create("Quick Guide", "key").wikiPassage("Key").open();>>
<</if>>
<</link>>
</li>
<li class="nav-main">
<a>
<label class="navMenuToggle-lbl" for="nav-menu">
<span>Δ</span>
</label>
</a>
</li>
</ul>
</div>
<!-- end oobleck menu -->
<<link '<i class="fa-solid fa-forward" title="Forward"></i>'>>
<<run Engine.forward()>>
<</link>><ul>
<li>
Sugarcube Epistolary/Prose UI Template & Epistolary Formatting Widgets by <a href="https://lapinlunaire-games.neocities.org">Lapin Lunaire Games</a>.
</li>
<hr>
<!-- Add more credits below this line -->
<li>
Add more credits here wrapped in {{{<li>}}} tags (you can copy/paste this one as many times as you need to).
</li>
<!-- Your last credit should go above this line! -->
</ul>Press ''"Q"'' at any time to open/close this! ''M'' expands/collapses the menu discs and ''ESC'' closes an open dialog.
<hr>
<!--When using this template, you can change the contents of this passage to a character profile, stats page, achievements page, etc.-->
CitiFile:
<h4> this is your character stat bar. these stats measure your FRIENDLINESS (FRD), your BOLDNESS (BLD), your CAUTION (CAU), your STUBBORNNESS (STB), and your GENUINITY (GEN). </h4>
<p>
<div class="p-chart">
<<= '<div class="p-column" style="height: ' + $fndgraph + '%;">fnd</div>' >>
<<= '<div class="p-column" style="height: ' + $bldgraph + '%;">bld</div>' >>
<<= '<div class="p-column" style="height: ' + $caugraph + '%;">cau</div>' >>
<<= '<div class="p-column" style="height: ' + $gengraph + '%;">gen</div>' >>
<<= '<div class="p-column" style="height: ' + $stbgraph + '%;">stb</div>' >>
</div>
</p>
<<cacheaudio "prologue" "aud/prologue.mp3">>
<!--Set default value of text in [[Header]]-->
<<set $header to "for your eyes only">>
<!--Set default save file name-->
<<set $take to "Curtain Up">>
<!--MC NAME -->
<<set $mcFirstname to "">>
<<set $catname to "">>
<<set $dogname to "">>
<<set $fishname to "">>
<!--PET-->
<<set $Catpick = false>>
<<set $Dogpick = false>>
<<set $Fishpick = false>>
<!-- character stats-->
<<set $friend to 0>> <!--FRIENDLY-->
<<set $stoic to 50>> <!--STOIC-->
<<set $obstin to 50>> <!--STUBBORN-->
<<set $easy to 50>> <!--CAREFREE-->
<<set $bold to 50>> <!--BOLD-->
<<set $shy to 50>> <!--SHY-->
<<set $careful to 50>> <!--CAUTIOUS-->
<<set $impulse to 50>> <!--IMPULSIVE-->
<<set $genuine to 50>> <!--GENUINE-->
<<set $liar to 50>> <!--DECEITFUL-->
<!-- Friend stats-->
<<set $Afriend = 0>>
<<set $Ofriend = 0>>
<<set $Cfriend = 0>>
<<set $Pfriend = 0>>
<<set $Jfriend = 0>>
<!--slaughter-->
<<set $thehangedman = 0>>
<<set $therev = 0>>
<!--achievement-->
<!--flirt-->
<<set $alexFlirt = 0>>
<<set $puckFlirt = 0>>
<<set $cFlirt = 0>>
<<set $jonFlirt = 0>>
<<set $opheliaFlirt = 0>>
<!--player specifics -->
<<set $mftrans = false>>
<<set $fmtrans = false>>
<!--option-->
<<set $mMet = false>>
<!--FOR PRONOUNS-->
<<set $mcGenders = ["nonbinary", "female", "male", "pangender", "fluid", "agender", "neutrois"]>>
<<set $mc_they = ["they", "she", "he", "xe", "ey"]>>
<<set $mc_They = ["They", "She", "He", "Xe", "Ey"]>>
<<set $mc_them = ["them", "her", "him", "xem", "em"]>>
<<set $mc_Them = ["Them", "Her", "Him", "Xem", "Em"]>>
<<set $mc_their = ["their", "her", "his", "xyr", "eir"]>>
<<set $mc_Their = ["Their", "Her", "His", "Xyr", "Eir"]>>
<<set $mc_theirs = ["theirs", "hers", "his", "xyrs", "eirs"]>>
<<set $mc_Theirs = ["Theirs", "Hers", "His", "Xyrs", "Eirs"]>>
<<set $mc_themself = ["themself", "herself", "himself", "xemself", "emself"]>>
<<set $mc_Themself = ["Themself", "Herself", "Himself", "Xemself", "Emself"]>>
<<set $mc_theyre = ["they're", "she's", "he's", "xe's", "ey's"]>>
<<set $mc_Theyre = ["They're", "She's", "He's", "Xe's", "Ey's"]>>
<<set $mc_theyve = ["they've", "she's", "he's", "xe's", "ey's"]>>
<<set $mc_Theyve = ["They've", "She's", "He's", "Xe's", "Ey's"]>>
<<set $mcPerson = ["person", "woman", "man"]>>
<<set $mcPeople = ["people", "women", "men"]>>
<<set $mcKid = ["kid", "girl", "boy"]>>
<<set $mcKids = ["kids", "girls", "boys"]>>
<<set $a_gender = ["woman", "man"]>>
<<set $a_they = ["she", "he"]>>
<<set $a_They = ["She", "He"]>>
<<set $a_their = ["her", "his"]>>
<<set $a_Their = ["Her", "His"]>>
<<set $a_theirs = ["hers", "his"]>>
<<set $a_Theirs = ["Hers", "His"]>>
<<set $a_themself = ["herself", "himself"]>>
<<set $a_Themself = ["Herself", "Himself"]>>
<<set $a_theyre = ["she's", "he's"]>>
<<set $a_Theyre = ["She's", "He's"]>>
<<set $a_theyve = ["she's", "he's"]>>
<<set $a_Theyve = ["She's", "He's"]>>
<<set $aPerson = ["woman", "man"]>>
<<set $aPeople = ["women", "men"]>>
<<set $aKid = ["girl", "boy"]>>
<<set $aKids = ["girls", "boys"]>>
<<set $aRoyal = ["Princess Alex", "PrinceAlex"]>>
<<set $aprince = ["princess", "prince"]>>
<<set $aTitle = ["Her Excellence", "His Excellence"]>>
<<set $a_her = ["her", "him"]>>
<<set $a_Her = ["Her", "Him"]>>
<<set $a_name = ["Alex"]>>
<<set $a_sibling = ["sister", "brother"]>>
<<set $a_Sibling = ["Sister", "Brother"]>>
<<set $c_gender = ["woman", "man"]>>
<<set $c_they = ["she", "he"]>>
<<set $c_They = ["She", "He"]>>
<<set $c_their = ["her", "his"]>>
<<set $c_Their = ["Her", "His"]>>
<<set $c_theirs = ["hers", "his"]>>
<<set $c_Theirs = ["Hers", "His"]>>
<<set $c_themself = ["herself", "himself"]>>
<<set $c_Themself = ["Herself", "Himself"]>>
<<set $c_theyre = ["she's", "he's"]>>
<<set $c_Theyre = ["She's", "He's"]>>
<<set $c_theyve = ["she's", "he's"]>>
<<set $c_Theyve = ["She's", "He's"]>>
<<set $cPerson = ["woman", "man"]>>
<<set $cPeople = ["women", "men"]>>
<<set $cKid = ["girl", "boy"]>>
<<set $cKids = ["girls", "boys"]>>
<<set $cRoyal = ["Princess Matthea", "Prince Matthaios"]>>
<<set $cprince = ["princess", "prince"]>>
<<set $cTitle = ["Her Excellence", "His Excellence"]>>
<<set $c_her = ["her", "him"]>>
<<set $c_Her = ["Her", "Him"]>>
<<set $c_name = ["Caia", "Caius"]>>
<!-- Do not remove the tags on this passage -->
<div id="titleCont">''<<include "Title">>''
<br><span id="tagline"><<include "Tagline">></span>
<p>By <<include "Author">></p>
<div id="splashLinks">
<<link "Start" "startgame">><</link>> <span>✦</span>
<<if (Save.browser.auto.isEnabled() and Save.browser.auto.has()) or (Config.saves.maxSlotSaves gte 1)>>
<<link "Load">><<script>>UI.saves()<</script>><</link>> <span>✦</span> <</if>>
<<link "Settings">><<run UI.settings()>><</link>> <span>✦</span>
<<link "Credits">>
<<run Dialog.create("Credits").wikiPassage("Credits").open();>>
<</link>>
</div>
</div>quick rabbit; little thing. the blood of the covenant is long past. This Grave Calls You Homebloodteeth<<set $header to "sugarcube epistolary/prose template | widgets">><<set $take to 'Widgets'>>
<<date>>22 March 2024<</date>>
<p><<sig "Dear Reader,">></p>
<p>I married him.</p>
<p>Just kidding! The body of this letter is wrapped in {{{<p>}}} tags as usual. The date above is wrapped in <<{{{date}}}>> tags so the ''date'' macro handles its formatting.</p>
<p>Here’s an example of what the ''address'' widget looks like:</p>
<<add "Lapin Lunaire Games" "℅ Jinx" "123 Lunar Way" "Aristarchus NS 9256" "YUE">>
<p>Each line in the formatted return address is an argument given to the widget. The signature widget works the same way, by taking up to two arguments.
If two arguments are provided, the first is the signoff (“Cheers,”) and the second is the signature itself (“Jinx”). If only one argument is given, the widget will style it as a signature without a signoff (as seen in “Dear Reader” at the top of this letter).</p>
<<sig "Cheers," "Jinx">>
<hr>
<div class="choice choicebtn">
<<link "First Page" "Start">><</link>>
<<link "Template Styles" "Styles">><</link>>
</div><<set $header to "sugarcube epistolary/prose template | styles">><<set $take to 'Styles'>>
<h1>This is an h1 heading.</h1>
<h2>This is an h2 heading.</h2>
<h3>This is an h3 heading.</h3>
<h4>This is an h4 heading.</h4>
<h5>This is an h5 heading.</h5>
<p>This is ''bold text'', //italic text//, and __underlined text__. <<link "Here is an example of an inline (non-choice) link.">><</link>> Directly below this sentence is an <nowiki><hr></nowiki>.</p>
<hr>
<p>This template comes with default serif (Benne) font as well as sans serif (Montserrat Alternates), Open Dyslexic, and monospace (Courier Prime) options. To preview these options, open the menu (‘''M''’) or click the delta at the bottom of the page) and change the font style in the Settings Menu (<i class="fa-solid fa-gears"></i>).</p>
<p>You can also change the UI display theme in the Settings Menu. This minimalist screenplay-inspired template comes with two display themes (“Day” and “Night”). The colors for each are easily customizable through the CSS stylesheet’s variables (look for the section labeled with 🐇🌙🌸🌸🌸🌙🐇 emojis).</p>
<p>This template also comes with pre-styled choice links and two styling options for choice buttons. The buttons will resize/wrap automatically to fit. Simply create a div with the class “choice” and your links/buttons inside. If using buttons, you must also add the appropriate styling class (.choicebtn or .stack).</p>
<hr>
<p>You can use links to direct players...</p>
<div class="choice">
[[First Page|Start]]
[[Widget Explanation]]
</div>
<p>Or buttons...</p>
<div class="choice choicebtn">
<<button 'First Page'>><<goto [[Start]]>><</button>>
<<button 'Widget Explanation'>><<goto [[Widget Explanation]]>><</button>>
</div>
<p>Or another style of buttons...</p>
<div class="choice choicebtn stack">
<<button "First Page" "Start">><</button>>
<<button 'Widget Explanation'>><<goto [[Widget Explanation]]>><</button>>
</div>zHi! Thanks for downloading my Sugarcube Epistolary/Prose Template.
Below is a key to the colour-coded tags I've used to identify which passages should be edited with your own text, which are guides/references for the template's screenplay format widgets, and which should not be edited without deeper HTML/CSS/Twinescript familiarity.
I've tried to make the template as plug-and-play friendly as possible, but please don't hesitate to leave a comment on itch or contact me (https://lapinlunaire-games.neocities.org/contact/) if you have any questions and the code comments aren't quite getting you the info you need.
Happy Twining!
-Jinx
//---------------
TAG KEY
-----------------
"Guide" (BLUE)
Reference passage.
"Edit-This!" (GREEN)
Passages tagged "Edit-This!" contain text meant for you to change to your own project's information.
"No-Touchy!" (RED)
Editing not recommended without advanced HTML/CSS/Twinescript knowledge.<<set $header to "prologue | before">><<set $take to 'Before'>>
<p><h3>WHO IS THE ASTRONAUT?</h3></p>
<div class="choice choicebtn">
<<button 'Only a woman'>><<set $a_gender = ["woman"]>><<set $a_they = ["she"]>><<set $a_They = ["She"]>><<set $a_their = ["her"]>><<set $a_Their = ["Her"]>><<set $a_theirs = ["hers"]>><<set $a_Theirs = ["Hers"]>><<set $a_themself = ["herself"]>><<set $a_Themself = ["Herself"]>><<set $a_theyre = ["she's"]>><<set $a_Theyre = ["She's"]>><<set $a_theyve = ["she's"]>><<set $a_Theyve = ["She's"]>><<set $aPerson = ["woman"]>><<set $aPeople = ["women"]>><<set $aKid = ["girl"]>><<set $aKids = ["girls"]>><<set $aRoyal = ["Princess Alex"]>><<set $aprince = ["princess"]>>
<<set $aTitle = ["Her Excellence"]>><<set $a_her = ["her"]>><<set $a_Her = ["Her"]>><<set $a_name = ["Alex"]>><<set $a_sibling = ["sister"]>>
<<set $a_Sibling = ["Sister"]>><<goto [[Before1]]>><</button>>
<<button 'Only a man'>><<set $a_gender = ["man"]>><<set $a_they = ["he"]>><<set $a_They = [ "He"]>><<set $a_their = ["his"]>><<set $a_Their = ["His"]>><<set $a_theirs = ["his"]>><<set $a_Theirs = ["His"]>><<set $a_themself = ["himself"]>><<set $a_Themself = ["Himself"]>><<set $a_theyre = ["he's"]>><<set $a_Theyre = ["He's"]>><<set $a_theyve = ["he's"]>><<set $a_Theyve = ["He's"]>><<set $aPerson = ["man"]>><<set $aPeople = ["men"]>><<set $aKid = ["boy"]>><<set $aKids = ["boys"]>><<set $aRoyal = ["Prince Alex"]>><<set $aprince = ["prince"]>><<set $aTitle = ["His Excellence"]>><<set $a_her = ["him"]>><<set $a_Her = ["Him"]>><<set $a_name = ["Alex"]>><<set $a_sibling = ["brother"]>>
<<set $a_Sibling = ["Brother"]>><<goto [[Before1]]>><</button>>
</div>
<<set $header to "gamestart | CW">><<set $take to 'CW'>>
<h2>This Grave Calls You Home is a work of horror and tragedy</h2>and as such it is rated 18+.
<p>Additionally, this is a work in progress, and will have a continually updating ''CONTENT WARNING'' list.
Would you like to read the list of content warnings, as it stands now?</p>
<div class="choice choicebtn">
<<button 'YES'>><<goto [[CW]]>><</button>>
<<button 'NO'>><<goto [[Before]]>><</button>>
</div><<set $header to "gamestart | CW">><<set $take to 'CW'>>
<h2>CONTENT WARNINGS</h2>
<p>- Sexual content</p>
<p>- Gore</p>
<p>- Blood</p>
<p>- Bodily experiementation/mutation</p>
<p>- Mentions of suicide/self harm</p>
<p>- Alcohol</p>
<p>- Tobacco/ Nicotine</p>
<p>- Death & Grief</p>
<p>- Religious Imagery / Trauma </p>
<div class="choice choicebtn">
<<button 'CONTINUE'>><<goto [[Before]]>><</button>>
</div><p>And in the last few heartbeats of the sun, the astronaut loops the rosary over $a_their wrist and climbs carefully into $a_their hypersleep chamber, resigning $a_themself to $a_their forever tomb. The astronaut activates the sequences, bypasses all the acknowledgments and legal jargon that no longer hold any meaning, and settles in for the long sleep. As $a_they watches the countdown flicker in $a_their vision, $a_they thinks of cola-kisses at midnight and baseball stadiums after dark. $a_They thinks of pressing a kiss to $a_their lover’s mouth, kissing and sliding hot flesh against another’s until $a_theyre weightless. $a_They thinks of $a_their bed. $a_They thinks of $a_their dog. $a_They thinks of a home $a_they can no longer go back to. </p>
<p>The temperature drops, but $a_theyre only cold for a few minutes — a deep shake in the fibers of $a_their muscles, in $a_their tooth and jaw — before the quiet comes to $a_her. $a_They imagines the mechanisms at work, the slowing of the metabolism, the long-draw of breath, the smoothness of $a_their red blood cells pooling against the backs of $a_their limbs. There are perhaps only a few more moments before the deep sleep greets $a_her and holds $a_her in its palm. $a_They loves this part. $a_They hates this part. $a_They double checks the wake-timer. Three years. </p>
<p><<link "And then $a_they imagines nothing at all">><<goto [[Before3]]>><</link>> </p><<audio "prologue" loop play>>
<p>In the light of a dying star, the astronaut thumbs the decades of a rosary between
$a_their fingers and brings the coolness of the crucifix to $a_their mouth, $a_their teeth, so that $a_they might taste divinity for the last time. The metal is so cold it burns, sticking slightly to the flesh of $a_their lip. $a_They kneels deep into the steel flooring of $a_their ship, pressing until the patellae bruise. $a_They imagines the blood vessels popping under the skin and remembers instead the warmth of the wood from the kneeler in the pew. Remembers the work of loving touch from $a_their mother’s hand. Remembers the coloring from the stained glass—so bright and loud that $a_their breath had stuttered in $a_their chest. Remembers the hymns buzzing in $a_their throat. </p>
<p>$a_They had loved God, $a_they thinks. Once. Once as a child, then again as an adult. Once could have been a day ago; it could have been a week ago. Time no longer holds the same meaning, but there had been a before, and then an after. The love remains anyway, enough so that the genuflection is an act of relief and instinct and not that of guilt. </p>
<p>In the hollowing of $a_themself, the astronaut prays the same way $a_they had as a child. Alone and desperately, pleading until $a_they felt dizzy and nauseous and there was nothing left to give. Against that cold metal of the cross, $a_they whispers, //Thank you, sun. I love you. I’m sorry. I will see you again.// $a_They says, breath frosting over $a_their knuckles, //Christ have mercy. <<link "Christ have mercy.">><<goto [[Before2]]>><</link>>// </p>
<p>Many days and nights later, the astronaut will still be slumbering in the chamber that failed to stir $a_her inside a ship that failed to maintain itself. And years after this, the sun will eventually die and be born anew into a memory nobody will remember.</p>
<p>It does not—cannot swallow the earth, its sweet beloved thing—but it does draw Mercury into its gravity. It consumes the flesh of Venus, and then it implodes. Violent licks and whorls of solar flare tendrils whip out across space in the last spasm of life, catching the tail end of the astronaut’s ship. The power alone is enough to catapult $a_their ship away from the proximity of the sun, almost as if that had been the purpose, and the ship’s computers come back online, red-alarmed lights and warning signs flashing in front of the closed lids of the astronaut. A foreign, distant override signal is connected to $a_their ship. In an instant, it tells the shuttle to divert all ship power to sustain life inside the hypersleep chamber, then it provides a set of coordinates. </p>
<p>The ship floats, throttles only barely firing, in the never-ending velvet sea of darkness. </p>
<p><<link "The astronaut continues to sleep. ">><<goto [[int1]]>><</link>> </p><<audio "prologue" loop fadeout>>
<p>Before there was light, there was God. And before there was God, there was the lone, long dark.</p>
<p>Sweet thing, burning beloved, you already know what the darkness is, don't you?</p>
<div class="choice choicebtn">
<<button 'CHAPTER ONE'>><<goto [[ch1]]>><</button>></div>Just kidding!
This is the end of the prologue!
Chapter One will be coming VERY soon!
in the meantime, please follow the dev blog for more updates, and I'll see y'all soon! (blood-teeth.tumblr.com)
<p>[[Read prologue again|Before1]]</p>// ADDRESS
<!-- Use to format an address. -->
<<widget "add">>
<p class="address">
<<for _i, _name range _args>>
_args[_i]<br>
<</for>>
</p>
<</widget>>
// DATE
<!-- This is a wrapper widget for writing dates (ex. for letters, journal entries, etc.). It requires opening and closing tags. -->
<<widget "date" container>>
<p class="date">
_contents
</p>
<</widget>>
// SIGNATURE
<!-- This widget styles signoffs/signatures.-->
<<widget "sig">>
<p class="sig">
<<if _args.length gt 1>>
_args[0]<br>
<span>_args[1]</span>
<<elseif _args.length is 1>>
<span>_args[0]</span>
<</if>>
</p>
<</widget>>
//ahhh
<!--bullshit ahh-->
<<widget "updatecomtrait">>
<<set _comtraitarray to [ ["strength",$strength], ["dexterity",$dexterity], ["endurance",$endurance], ["magic",$magic] ]>>
<<set _comtraithighest = $strength>>
<<set _comtraithighname = "strength">>
<<for _i = 0; _i lt _comtraitarray.length; _i++>>
<<if _comtraitarray[_i][1] >= _comtraithighest>>
<<set _comtraithighest = _comtraitarray[_i][1]>>
<<set _comtraithighname = _comtraitarray[_i][0]>>
<</if>>
<</for>>
<<set $highstat = _comtraithighest>>
<<set $comtrait = _comtraithighname>>
<<unset _comtraitarray>>
<<unset _comtraithighest>>
<</widget>>
<p>
''**ADDRESS**''
<br>Use to format an address.
<pre>{{{
<<add "[Recipient Name]" "[Address Line 1]" "[Address Line 2]" ... "[Argument n]">>
}}}</pre>
</p>
<p>
''**DATE**''
<br>This is a wrapper widget for writing dates (ex. for letters, journal entries, etc.). It requires opening and closing tags.
<pre>{{{
<<date>>
[date]
<</date>>
}}}</pre>
</p>
<p>
''**SIGNATURE**''
<br>This widget styles signoffs/signatures.
<pre>{{{
<<sig "[Signoff (optional)]" "[signature]">>
}}}</pre>
</p>